﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace simpleHotel.Business
{
    public class About
    {
        public IList<simpleHotel.Business.AboutUs> getAbout()
        {
            List<AboutUs> data = new List<simpleHotel.Business.AboutUs>();
            var abouts = from about in Singleton.DataContext.AboutUs
                    select about;
            foreach (simpleHotel.Business.AboutUs item in abouts)
            {
                data.Add(item);
            }
            return data;
        }
    }
}
